<!DOCTYPE html>
<?php
include('../function/lihatpegawai.php');
?>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta charset="utf-8">
  <!-- Title and other stuffs -->
  <title>Database - SDM</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description" content="">
  <meta name="keywords" content="">
  <meta name="author" content="">


  <!-- Stylesheets -->
  <link href="../../style/bootstrap.css" rel="stylesheet">
  <!-- Font awesome icon -->
  <link rel="stylesheet" href="../../style/font-awesome.css"> 
  <!-- jQuery UI -->
  <link rel="stylesheet" href="../../style/jquery-ui.css"> 
  <!-- Calendar -->
  <link rel="stylesheet" href="../../style/fullcalendar.css">
  <!-- prettyPhoto -->
  <link rel="stylesheet" href="../../style/prettyPhoto.css">   
  <!-- Star rating -->
  <link rel="stylesheet" href="../../style/rateit.css">
  <!-- Date picker -->
  <link rel="stylesheet" href="../../style/bootstrap-datetimepicker.min.css">
  <!-- jQuery Gritter -->
  <!--<link rel="stylesheet" href="../../style/jquery.gritter.css">
  <!-- CLEditor -->
  <link rel="stylesheet" href="../../style/jquery.cleditor.css"> 
  <!-- Bootstrap toggle -->
  <link rel="stylesheet" href="../../style/bootstrap-toggle-buttons.css">
  <!-- Main stylesheet -->
  <link href="../../style/style.css" rel="stylesheet">
  <!-- Widgets stylesheet -->
  <link href="../../style/widgets.css" rel="stylesheet">   
  <!-- Responsive style (from Bootstrap) -->
  <link href="../../style/bootstrap-responsive.css" rel="stylesheet">
  
  <!-- HTML5 Support for IE -->
  <!--[if lt IE 9]>
  <script src="js/html5shim.js"></script>
  <![endif]-->

  <!-- Favicon -->
  <link rel="shortcut icon" href="../../img/favicon/favicon.png">
</head>

<body>
<?php
include ("aheader.php");
?>
<!-- Main content starts -->

<div class="content">

  	<!-- Sidebar -->
    <div class="sidebar">
        <div class="sidebar-dropdown"><a href="#">Navigation</a></div>

        <div class="sidebar-inner">

          <!--- Sidebar navigation -->
          <!-- If the main navigation has sub navigation, then add the class "has_submenu" to "li" of main navigation. -->
           <ul class="navi">

            <!-- Use the class nred, ngreen, nblue, nlightblue, nviolet or norange to add background color. You need to use this in <li> tag. -->

            <li class="norange current"><a href="index.php"><i class="icon-home"></i> Home</a></li>

			<li class="norange"><a href="tambahdepartemen.php"><i class="icon-plus"></i> Tambah Departemen</a></li>
            
            <li class="norange"><a href="tambahteam.php"><i class="icon-plus"></i> Tambah Team</a></li>
			
			<li class="has_submenu norange">
			<a href="index.php">
			<i class="icon-user"></i> Tambah User
			 <span class="pull-right"><i class="icon-angle-right"></i></span>
			</a>
			<ul>
			
			 <li class="norange"><a href="tambahgh.php"><i class="icon-plus"></i> Tambah Group Head</a></li>
			
            <li class="norange"><a href="tambahkepalapegawai.php"><i class="icon-plus"></i> Tambah Departemen Head</a></li>
            
            <li class="norange"><a href="tambahpegawai.php"><i class="icon-plus"></i> Tambah Pegawai</a></li>
            </ul>
			</li>
           
		   <li class="norange"><a href="tambahtraining.php"><i class="icon-plus"></i> Tambah Training</a></li>

          </ul>
		  
        </div>

    </div>
    
        <!-- Sidebar ends -->

  	<!-- Main bar -->
  	<div class="mainbar">
      
	    <!-- Page heading -->
	    <div class="page-head">
        <!-- Page heading -->
	      <h2 class="pull-left">Lihat Pegawai
          <!-- page meta -->
        </h2>


        <!-- Breadcrumb -->
        <div class="bread-crumb pull-right">
          <a href="#"><i class="icon-home"></i> Home / Lihat Pegawai</a> 
        </div>

        <div class="clearfix"></div>

	    </div>
	    <!-- Page heading ends -->




	    <!-- Matter -->

	    <div class="matter">
        <div class="container-fluid">
		<div class="row-fluid">

            <div class="span12">


              <div class="widget worange">
                
                <div class="widget-head">
                  <div class="pull-left">Daftar Pegawai</div>
                  <div class="widget-icons pull-right">
                  <!--  <a href="#" class="wminimize"><i class="icon-chevron-up"></i></a> 
                    <a href="#" class="wclose"><i class="icon-remove"></i></a>-->
                  </div>
                  <div class="clearfix"></div>
                </div>

                <div class="widget-content">
                  <div class="padd">

                    <h6>Biodata Pegawai</h6>
                    <hr/>
                    <!-- Biodata starts.  -->
					
                     <div class="widget-content">

                    <table border="0">
                        <tr>
                          <td>NIP</td>
                          <td>:</td>
                          <td><?php echo $temp['nip']; ?></td>
                        </tr>
                        <tr>
                          <td>Nama</td>
                          <td>:</td>
                          <td><?php echo $temp['nama']; ?></td>                          
                        </tr>
                        <tr>
                          <td>Gender</td>
                          <td>:</td>
                          <td><?php echo $temp['gender']; ?></td>
                        </tr>
                        <tr>
                          <td>Tempat Lahir</td>
                          <td>:</td>
                          <td><?php echo $temp['pob']; ?></td>
                        </tr>
                        <tr>
                          <td>Tanggal Lahir</td>
                          <td>:</td>
                          <td><?php echo $temp['dob']; ?></td>
                        </tr>
                        <tr>
                          <td>Tinggi Badan</td>
                          <td>:</td>
                          <td><?php echo $temp['height']; ?></td>
                        </tr> 
						<tr>
                          <td>Berat Badan</td>
                          <td>:</td>
                          <td><?php echo $temp['weight']; ?></td>
                        </tr>
						<tr>
                          <td>Agama</td>
                          <td>:</td>
                          <td><?php echo $temp['agama']; ?></td>
                        </tr> 		
						<tr>
                          <td>Alamat</td>
                          <td>:</td>
                          <td><?php echo $temp['alamat']; ?></td>
                        </tr>
						<tr>
                          <td>Kota</td>
                          <td>:</td>
                          <td><?php echo $temp['kota']; ?></td>
                        </tr>
						<tr>
                          <td>Telepon</td>
                          <td>:</td>
                          <td><?php echo $temp['telepon']; ?></td>
                        </tr>
						<tr>
                          <td>Handphone</td>
                          <td>:</td>
                          <td><?php echo $temp['handphone']; ?></td>
                        </tr>
						<tr>
                          <td>Status</td>
                          <td>:</td>
                          <td><?php echo $temp['status']; ?></td>
                        </tr>
						<tr>
                          <td>Tanggal Masuk</td>
                          <td>:</td>
                          <td><?php echo $temp['tanggal_masuk']; ?></td>
                        </tr>
						<tr>
                          <td>Tanggal Tetap</td>
                          <td>:</td>
                          <td><?php echo $temp['tanggal_tetap']; ?></td>
                        </tr>
						<tr>
                          <td>Departemen</td>
                          <td>:</td>
                          <td><?php echo $temp['departemen']; ?></td>
                        </tr>
						<tr>
                          <td>Team</td>
                          <td>:</td>
                          <td><?php echo $temp['team']; ?></td>
                        </tr>
						
                    </table>
					</div>
					<br>
					
					<h6>Pendidikan Pegawai</h6>
					<hr>
					<div class="widget-content">
					<table class="table  table-bordered ">
                      <thead>
                        <tr>
                          <th>Level Pendidikan</th>
                          <th>Lembaga Pendidikan</th>
                          <th>Jurusan</th>
                          <th>Tanggal Kelulusan</th>
						</tr>
                      </thead>
                      <tbody>
                    <?php 
					while($row2 = mysql_fetch_array($query2)){
		
		
					echo "<tr>";
                           echo "<td>"; echo $row2['LEVEL_PENDIDIKAN'] ; echo"</td>";
                           echo "<td>"; echo $row2['LEMBAGA'] ; echo"</td>";
                           echo "<td>"; echo $row2['JURUSAN'] ; echo"</td>";
                           echo "<td>"; echo $row2['TANGGAL_KELULUSAN'] ; echo"</td>";
                       echo "</tr>"; 
					   }?>
                      
                                                                                              
                      </tbody>
                    </table>
                  </div>
				  <br>
				  
				  <h6>Jabatan Pegawai</h6>
					<hr>
					<div class="widget-content">
					<table class="table  table-bordered ">
                      <thead>
                        <tr>
                          <th>Jabatan</th>
                          <th></th>
                          <th>Tanggal Jabatan</th>
						</tr>
                      </thead>
                      <tbody>
                        <tr>
                          <td>Grade</td>
                          <td><?php echo $temp5['grade']; ?></td>
						  <td><?php echo $temp5['t_grade']; ?></td>
						</tr>
						<tr>
						  <td>Job Grade</td>
						  <td><?php echo $temp6['job_grade']; ?></td>
						  <td><?php echo $temp6['t_job']; ?></td>
						</tr>
						<tr>
						  <td>Core Competence</td>
						  <td><?php echo $temp3['core_competence']; ?></td>
						  <td><?php echo $temp3['t_core']; ?></td>
						</tr>
						<tr>
						  <td>Corporate Title</td>
						  <td><?php echo $temp4['corporate_title']; ?></td>
						  <td><?php echo $temp4['t_corp']; ?></td>
                        </tr>                                                                        
                      </tbody>
                    </table>
                  </div>
				  <br>
				  
				  <h6>Training</h6>
					<hr>
					<div class="widget-content">
					<table class="table  table-bordered ">
                      <thead>
                        <tr>
                          <th>Nama Training</th>
                          <th>Lembaga Training</th>
                          <th>Tanggal Training</th>
                          <th>Jenis Training</th>
						  <th>Keterangan</th>
						</tr>
                      </thead>
                      <tbody>
					                       <?php 
					while($row7 = mysql_fetch_array($query7)){
		
		
					echo "<tr>";
                           echo "<td>"; echo $row7['NAMA_TRAINING'] ; echo"</td>";
                           echo "<td>"; echo $row7['LEMBAGA_TRAINING'] ; echo"</td>";
                           echo "<td>"; echo $row7['TANGGAL_TRAINING'] ; echo"</td>";
                           echo "<td>"; echo $row7['JENIS_TRAINING'] ; echo"</td>";
						   echo "<td>"; echo $row7['KETERANGAN_TRAINING'] ; echo"</td>";
                       echo "</tr>"; 
					   }?>

                      </tbody>
                    </table>
                  </div>
				  <br>

				  <h6>Performance History</h6>
					<hr>
					<div class="widget-content">
					<table class="table  table-bordered ">
                      <thead>
                        <tr>
                          <th>Tanggal Performance</th>
                          <th>KPI</th>
                          <th>CPI</th>
                          <th>PL</th>
						</tr>
                      </thead>
                      <tbody>
                        	 <?php 
					while($row8 = mysql_fetch_array($query8)){
		
		
					echo "<tr>";
                           echo "<td>"; echo $row8['KPI'] ; echo"</td>";
                           echo "<td>"; echo $row8['CPI'] ; echo"</td>";
                           echo "<td>"; echo $row8['TAHUN'] ; echo"</td>";
                           echo "<td>"; echo $row8['PL'] ; echo"</td>";
                       echo "</tr>"; 
					   }?>					
                      </tbody>
                    </table>
                  </div>
				  

                  </div>
                </div>
                  
                  <div class="widget-foot">
                    <!-- Footer goes here -->
                  </div>
              </div>  

            </div>

          </div>
		  </div>
		  </div>
		<!-- Matter ends -->

    </div>

   <!-- Mainbar ends -->	    	
   <div class="clearfix"></div>

</div>
<!-- Content ends -->   

<!-- Scroll to top -->
<span class="totop"><a href="#"><i class="icon-chevron-up"></i></a></span> 

<!-- JS -->
<script src="../../js/jquery.js"></script> <!-- jQuery -->
<script src="../../js/bootstrap.js"></script> <!-- Bootstrap -->
<script src="../../js/jquery-ui-1.10.2.custom.min.js"></script> <!-- jQuery UI -->
<script src="../../js/fullcalendar.min.js"></script> <!-- Full Google Calendar - Calendar -->
<script src="../../js/jquery.rateit.min.js"></script> <!-- RateIt - Star rating -->
<script src="../../js/jquery.prettyPhoto.js"></script> <!-- prettyPhoto -->

<!-- jQuery Flot -->
<script src="../../js/excanvas.min.js"></script>
<script src="../../js/jquery.flot.js"></script>
<script src="../../js/jquery.flot.resize.js"></script>
<script src="../../js/jquery.flot.pie.js"></script>
<script src="../../js/jquery.flot.stack.js"></script>

<script src="../../js/jquery.gritter.min.js"></script> <!-- jQuery Gritter -->
<script src="../../js/sparklines.js"></script> <!-- Sparklines -->
<script src="../../js/jquery.cleditor.min.js"></script> <!-- CLEditor -->
<script src="../../js/bootstrap-datetimepicker.min.js"></script> <!-- Date picker -->
<script src="../../js/jquery.toggle.buttons.js"></script> <!-- Bootstrap Toggle -->
<script src="../../js/filter.js"></script> <!-- Filter for support page -->
<script src="../../js/custom.js"></script> <!-- Custom codes -->
<script src="../../js/charts.js"></script> <!-- Custom chart codes -->

</body>
</html>